EndpointRegistry tests - #118
Conversation
…quired to create an endpoint This test computes the accumulated time of all the operations required to create a given number of routes (500, in this test).
…quired to resolve an endpoint his test computes the accumulated time of all the operations required to resolve the same route over and over.
|
@davsclaus @rhuan080 Guys, do you mind sharing your thoughts about this? Claus had suggested, on the discussion on apache/camel#9972, that the LRUCache was an interesting test scenario. Here I am providing a set of tests that should cover a few of the areas that I believe could be hit by the LRUCache changes. There are 4 new tests added and they should cover the following aspects:
I am currently running the baselines for these (on 4.0 Please let me know if you notice something is missing or wrong. |
e0dd66e to
1b382f5
Compare
|
It may also be interresting to test with camel-caffeine-lrucache on the classpath to use caffeeine as thread-safe cache. Then we can compare this with #10157 Also #10157 can potentially be optimized to only sync on certain situations. |
…Registry - EndpointRegistry: this tests specific operations of the Endpoint registry in single-thread scenarios - EndpointRegistryScalabilityTest: this tests specific operations of the Endpoint registry in multi-thread scenarios.=
1b382f5 to
ffab236
Compare
oscerd
left a comment
There was a problem hiding this comment.
LGTM, I think we should add the license everywhere in this repo.
Indeed! I created a ticket so I don't forget to fix these ... we have quite a couple ones missing the license information. |
No description provided.